package com.dubbo.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.api.ProviderService;
import org.springframework.stereotype.Component;

/**
 * @date 2021/5/31 15:14
 */
@Service
@Component
public class ProviderServiceImpl implements ProviderService {

    @Override
    public String sayHello(String name) {
        return name;
    }

    @Override
    public String getName(String name) {
        return name;
    }
}
